-- GENERATED SPELL FOR [Ward Guardian] --


function spell0_4427(pUnit, Event) --@Healing Wave,Heal--
pUnit:FullCastSpellOnTarget(959,pUnit)
pUnit:RegisterEvent('Sorts_4427', 3000, 1)
end

function Sorts_4427(pUnit, Event)
local choix_sorts_4427 = math.random(0, 0)
if choix_sorts_4427 == 0 then
pUnit:RegisterEvent('spell0_4427', 1, 1)
end
end

function mob4427_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4427', math.random(1500, 3000), 1)
end

function mob4427_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4427_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4427_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4427, 1, 'mob4427_Action')
RegisterUnitEvent(4427, 2, 'mob4427_Leave')
RegisterUnitEvent(4427, 3, 'mob4427_Kill')
RegisterUnitEvent(4427, 4, 'mob4427_Die')
